package cn.mado.org.service;

import cn.mado.basic.util.PageList;
import cn.mado.org.domain.Picture;
import cn.mado.org.query.PictureQuery;

import java.util.List;

public interface PictureService {
    List<Picture> findAll();

    void add(Picture picture);

    void update(Picture picture);

    void delete(Long picId);

    Picture findById(Long picId);

    PageList<Picture> queryByPage(PictureQuery query);
}
